class Team < ActiveRecord::Base
#show the roster
def self.current_players
	find(:all, :order => "name")
end

#validate players name
validates_presence_of :name

#validates players position
validates_presence_of :position

#validates players number
validates_presence_of :number
end
